<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/includes/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>个人信息</title>
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/common.css" type="text/css" />
<script type="text/javascript">
	var type = '${type}';
	if(type=='update'){
		alert("密码修改成功！");
	}
</script>
</head>
	<body >
		<div id="man_zone">
		<form action="savePassword.action" method="post" id="form1" >
		 <table class="table_style" border="0" align="center"  cellpadding="3" cellspacing="1" width="500px">
		   	<tr>
		   		<td class="left_title_1">旧密码:</td>
		   		<td>
		   		<input type="text" id="student.password" name="student.password"/>
		   		<s:if test="hasFieldErrors() && fieldErrors.get('student.password') != null">
					<s:fielderror><s:param>student.password</s:param></s:fielderror>
				</s:if>
		   		</td>
		   	</tr>
		   	<tr>
		   		<td class="left_title_1">新密码:</td>
		   		<td>
		   		<input type="text" id="newpassword" name="newpassword" />
		   		<s:if test="hasFieldErrors() && fieldErrors.get('student_password_new') != null">
					<s:fielderror><s:param>student_password_new</s:param></s:fielderror>
				</s:if>
		   		</td>	
		   	</tr>
		   <tr>
		   		<td class="left_title_1">密码确认:</td>
		   		<td>
		   		<input type="text" id="surepassword" name="surepassword" />
		   		<s:if test="hasFieldErrors() && fieldErrors.get('surepassword') != null">
					<s:fielderror><s:param>surepassword</s:param></s:fielderror>
				</s:if>
				<s:actionerror/>
		   		</td>	
		   	</tr>
		  </table>
		  <table class="table_style" border="0" align="center"  cellpadding="3" cellspacing="0">
       		<tr>
              <td>
                <input type="submit" value="提交" />
                <span class="sub_sp">&nbsp;</span>
                 <s:reset value="重置"/>  
              </td>
            </tr>
	 </table>
	 </form>
	 
		</div>
	</body>
</html>